<%--
  Created by IntelliJ IDEA.
  User: 郝龙飞
  Date: 2021/5/15
  Time: 20:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%--获取地址--%>
<%
    String basePath = request.getScheme()
            + "://" + request.getServerName()
            + ":" + request.getServerPort()
            + request.getContextPath()
            + "/";
    pageContext.setAttribute("basePath",basePath);
%>

<!--写base标签，永远固定相对路径跳转结果-->
<base href="<%=basePath%>" />
<!--base标签一般写到工程名--><!--到web目录下了-->
<link type="text/css" rel="stylesheet" href="static/css/style.css"><%--引入css样式--%>
<script type="text/javascript" src="script/jquery-1.7.2.js"></script><%--导入jquery框架--%>
